#pragma once
#include "ApanlyClientPlugin.h"
class CHandlerSet
{
public:
	CHandlerSet(void);
	~CHandlerSet(void);
public:
	HRESULT RegistHandler(ISysBusHandler* handler);
	HRESULT UnRegistHandler(ISysBusHandler* handler);
	HRESULT HandleEvent(ISysBusObject* evt) const;
	HRESULT HandleMessage(ISysBusObject* request, ISysBusObject* response, LONG* pVal) const;
private:
	std::set<ISysBusHandler*> m_handlers;
};
